package com.open4cn.simulator.core.device;

/**
 * @author yinxiaopeng
 * @version 1.0.0
 * @company 致景科技
 * @department 飞梭BU/研发
 * @description 设备状态持久化存储
 * @Email yinxiaopeng@zj.tech
 * @date 2022-05-15 01:43
 */
public interface IDeviceStatusRepository {

    /**
     * 保存设备状态
     *
     * @param deviceStatusDO
     * @return
     */
    boolean save(DeviceStatusDO deviceStatusDO);


    /**
     * 查询
     *
     * @param deviceId
     * @return
     */
    DeviceStatusDO get(String deviceId);

}
